package com.zj.study.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zj.study.model.User;
import reactor.core.publisher.Mono;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zj
 * @since 2021-06-25
 */
public interface UserService extends IService<User> {

    /**
     * 查询所有数据
     * @return
     */
    Mono<List<User>> getList();


    List<User> getByUsername(String username);
}
